<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>

<body> 
    <form action="">
        <input type="button" value="红色" onclick="color('red')">
        <input type="button" value="蓝色" onclick="color('blue')">
        <input type="button" value="黄色" onclick="color('yellow')">
        <input type="color" onchange="colorzi(this)">
    </form>
    <script src="js/script.js"></script>
</body>

</html>